/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.adama.exception;

import fr.adama.dto.BulletinPaieDTO;

/**
 *
 * @author mini-john
 */
public class BulletinFileNotFoundException extends RuntimeException {

    private BulletinPaieDTO bulletin;

    /**
     * Creates a new instance of <code>FileNotFoundException</code> without
     * detail message.
     */
    public BulletinFileNotFoundException() {
    }

    /**
     * Constructs an instance of <code>FileNotFoundException</code> with the
     * specified detail message.
     *
     * @param msg the detail message.
     */
    public BulletinFileNotFoundException(String msg, BulletinPaieDTO bulletin) {
        super(msg);
        this.bulletin = bulletin;
    }

    public BulletinFileNotFoundException(String msg) {
        super(msg);

    }

    public BulletinPaieDTO getBulletin() {
        return bulletin;
    }

    public void setBulletin(BulletinPaieDTO bulletin) {
        this.bulletin = bulletin;
    }
    
}
